package com.yjhb.android.sbz.activity;

import android.view.View;

import com.yjhb.android.sbz.R;
import com.jojo.android.zxlib.base.mvp.BasePresenter;
import com.jojo.android.zxlib.tool.ZxActivityTool;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 创建者 zx
 * 创建时间 2021/2/20 10:24
 */
public class AboutActivity extends BaseActivity {
    private final String TAG = "AboutActivity";

    @BindView(R.id.logo_iv)
    View logo_iv;

    private int clickCounter;

    @Override
    protected BasePresenter initPresenter() {
        return null;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    protected void initUI() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void regEvent() {

    }


    @OnClick(R.id.back)
    void back() {
        finish();
    }

    @OnClick(R.id.logo_iv)
    void logo() {
        if (clickCounter < 10) {
            clickCounter++;
        } else {
            ZxActivityTool.skipActivity(this, ConsoleActivity.class);
        }
    }
}
